package com.my.aslife;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.io.Serializable;

@SpringBootApplication(scanBasePackages = {"com.my.aslife"})
@MapperScan({"com.my.aslife.mapper"})
@EnableScheduling
@EnableAsync
public class AsLifeApplication {

    public static void main(String[] args) {
        SpringApplication.run(AsLifeApplication.class, args);
    }

}
